﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="TagsByWeight.aspx.vb" Inherits="WeightLossProject.TagsByWeight" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2 class="custom-header">Tags By  Weight!</h2>
    <asp:SqlDataSource ID="dsTagsByWeight" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>" 
        SelectCommand="SELECT * FROM [TagsByWeight]"></asp:SqlDataSource>

<div style="float:left; width:395px; height:130px; background-color:#ededed; margin:5px; padding:10px; overflow-y:scroll; border:1px dashed #ddd;">
    <h2 class="custom-header1">Tags</h2>
    <asp:Label ID="CloudMarkup" runat="server" CssClass="frmDisplay"></asp:Label>
</div>
<div style="float:right; width:200px; height:130px; background-color:#ddd; margin:5px; padding:10px; border:1px dashed #ddd;">
<h2 class="custom-header1">Newest Members</h2>
    <div style="text-align:center;">
    <asp:Image ID="Image1" runat="server" Height="50px" Width="50px" style="border: 1px solid #000; padding:3px;"/>
    <asp:Label ID="lblTitle" runat="server" Font-Bold="True" ></asp:Label>
    <br/>
    <asp:Button ID="btnPrev" runat="server" Text="Prev" BackColor="#465564" Font-Names="Arial" BorderWidth="0px" ForeColor="#FFFFFF" Width="60px" />
    <asp:Button ID="btnPlay" runat="server" Text="Play" BackColor="#465564" Font-Names="Arial" BorderWidth="0px" ForeColor="#FFFFFF" Width="60px" />
    <asp:Button ID="btnNext" runat="server" Text="Next" BackColor="#465564" Font-Names="Arial" BorderWidth="0px" ForeColor="#FFFFFF" Width="60px" />            
    </div>  
        <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server">
     </asp:ToolkitScriptManager>
        <asp:SlideShowExtender ID="slideshowNewMembers" runat="server"
            TargetControlID="Image1"
            SlideShowServicePath="SlideService.asmx"
            SlideShowServiceMethod="GetSlides "
            AutoPlay="true"
            NextButtonID="btnNext"
            PreviousButtonID="btnPrev"
            PlayButtonID="btnPlay"
            ImageDescriptionLabelID="lblDescription"
            ContextKey="123"
            Loop="true" Enabled="True" ImageTitleLabelID="lblTitle" 
        PlayButtonText="Play" StopButtonText="Stop" PlayInterval="3500">
        </asp:SlideShowExtender>
            
</div>
</asp:Content>
